package com.nbot.common.command.s2b;

import com.nbot.common.command.BotCommand;
import com.nbot.common.domain.Aqyh;
import com.nbot.common.domain.AqyhOld;

public class ReportAqyhCommand extends S2bCommand {
    public static final int NEW_AQYH = 2;//新安全隐患tag
    public static final int OLD_AQYH = 1;//旧安全隐患tag

    public Aqyh getAqyh() {
        return aqyh;
    }

    public void setAqyh(Aqyh aqyh) {
        this.aqyh = aqyh;
    }

    public int getAqyhType() {
        return aqyhType;
    }

    public void setAqyhType(int aqyhType) {
        this.aqyhType = aqyhType;
    }

    public AqyhOld getAqyhOld() {
        return aqyhOld;
    }

    public void setAqyhOld(AqyhOld aqyhOld) {
        this.aqyhOld = aqyhOld;
    }

    /**
     * aqyhType==1:旧安全隐患 AqyhOld
     * aqyhType==2:新安全隐患 Aqyh
     */
    private int aqyhType;
    private Aqyh aqyh;

    private AqyhOld aqyhOld;

    public ReportAqyhCommand() {
        super(BotCommand.TYPE_S2B_REPORT_AQYH);
    }

    @Override
    public String toString() {
        return "ReportAqyhCommand{" +
                "aqyhType=" + aqyhType +
                ", aqyh=" + aqyh +
                ", aqyhOld=" + aqyhOld +
                '}';
    }
}
